package com.xiaotu.service;

import com.xiaotu.vo.PlayerInfoVo;

import java.util.List;

/**
 * @author zhangxiao
 * @create 2021-10-15 13:55
 */
public interface PlayerService {

    void updateBattleStatus(Integer playerId, Integer battleStatus);

    void batchUpdateBattleStatus(List<Integer> playerIds, Integer battleStatus);

    void register(String phone);

    void checkRegistPlayer(String phone, String verifyCode);

    boolean validNickName(String phone, String nickName);

    void setNickName(String phone, String nickName);

    String refreshNickName();

    PlayerInfoVo getPlayerInfo(Integer playerId);

    void changeImage(Integer playerId, Integer imageId);

    void authentication(Integer playerId);

    void setPlayerBattleStatus(Integer playerId, Integer battleStatus);
}
